// 模型列表
export interface ModuleList {
  object: string;
  data: {
    id: string;
    object: string;
    owned_by: string;
  }[];
}
export interface ChatHistoryWin {
  role: string;
  content: string;
  userId?: string;
  id?: string;
  isLoading?: boolean;
  isGenerating?: boolean;
  regenerateChat?: ChatHistoryWin[];
}
export interface ChatHistoryList {
  name: string;
  id: string;
  createdAt: Date; // 添加创建时间
  chatHistory: ChatHistoryWin[];
}
export interface CategorizedChats {
  timeName?: string;
  thisChats: ChatHistoryList[];
}
